//
//  EWTextField.m
//  haveSomethingToEat
//
//  Created by 陈 宁权 on 17/4/12.
//  Copyright © 2017年 陈 宁权. All rights reserved.
//

#import "EWTextField.h"

@implementation EWTextField

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

- (CGRect)rightViewRectForBounds:(CGRect)bounds {
    CGRect textRect = [super rightViewRectForBounds:bounds];
    textRect.origin.x -= 10;
    return textRect;
}

@end
